def storage(list1):
    with open('family.txt', mode='a', encoding='utf-8') as file1:
        str1 = '-----\n'
        for i in list1:
            str1 = str1 + i + '\n'

        file1.write(str1)

